package com.ikas.ai.enums;

/**
 * @Description: 统一数据源支持的日期格式
 * @Author: qi.yilai
 * @Date: 2022/11/3 16:40
 * @Version: 1.0.0
 **/
public enum DatePatternEnum implements Pattern {

    YYYY_MM_DD("yyyy-MM-dd"),

    YYYY_MM_DD_ZONE("yyyy/MM/dd Z"),

    YYYY_MM_DD_1("yyyy/MM/dd"),

    YYYY_MM_DD_CN("yyyy年MM月dd日");


    private String pattern;

    DatePatternEnum(String pattern) {
        this.pattern = pattern;
    }

    @Override
    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }
}
